From: Andreas Beckmann Date: Thu, 30 Sep 2021 16:07:33 +0000 (+0100) Subject: kill hanging tests after 30 minutes X-Git-Tag: archive/raspbian/1.7-2+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css//%22node%24level1.html/%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html/%22?a=commitdiff_plain;h=97d6af06bfdd4193ec568510d8e4a8a1191ec9c0;p=pocl.git kill hanging tests after 30 minutes Gbp-Pq: Name timeout.patch --- diff --git a/cmake/run_test.cmake b/cmake/run_test.cmake index 5ea265b..259dc8f 100644 --- a/cmake/run_test.cmake +++ b/cmake/run_test.cmake @@ -12,7 +12,7 @@ endif() string(REPLACE "####" ";" test_cmd_separated "${test_cmd}") execute_process( - COMMAND ${test_cmd_separated} + COMMAND timeout -k 60 1800 ${test_cmd_separated} RESULT_VARIABLE test_not_successful OUTPUT_VARIABLE stdout ERROR_VARIABLE stderr